import { Entity, PrimaryColumn } from "typeorm";
@Entity('user_role_tb')
export class UserRole {
    @PrimaryColumn({ type: 'bigint', name: 'user_id', comment: '用户id' })
    user_id: number;
    @PrimaryColumn({ type: 'bigint', name: 'role_id', comment: '角色id' })
    role_id: number;
}
